﻿using System.Data.Entity.ModelConfiguration;
using ZFine.Domain.Entity;

namespace Logic.Map.Project
{
    public class CourseTimeMap : EntityTypeConfiguration<CourseTimeEntity>
    {
        public CourseTimeMap()
        {
            this.ToTable("CourseTime");
            this.HasKey(t => t.F_Id);
            Property(p => p.F_Id).HasMaxLength(50);
            Property(p => p.F_CreatorUserId).HasMaxLength(50);
            Property(p => p.F_LastModifyUserId).HasMaxLength(50);
            Property(p => p.F_DeleteUserId).HasMaxLength(50);
            Property(p => p.Name).HasMaxLength(50);
            Property(p => p.ClassTime).HasMaxLength(200);
            Property(p => p.AddUserName).HasMaxLength(50);

            // Property(x => x.F_thispric).HasPrecision(18,2)
        }
    }
}
